package com.ruoyi.project.system.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 【请填写功能名称】对象 message
 * 
 * @author jjp
 * @date 2020-07-06
 */
public class Message extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long messageId;

    /** $column.columnComment */
    private Long mobileUserId;

    /** 用户标识 */
    @ApiModelProperty(name = "用户标识")
    private String token;

    /** 消息接收人标识 */
    @ApiModelProperty(name = "消息接收人标识")
    private String one;

    /** 是否在线-群聊 */
    @ApiModelProperty(name = "是否在线-群聊")
    private String onlineGroup;

    /** 是否在线-个人 */
    @ApiModelProperty(name = "是否在线-个人")
    private String online;

    /** 群聊Id */
    @ApiModelProperty(name = "群聊Id")
    private String groudId;

    /** 消息值 */
    @ApiModelProperty(name = "消息值")
    private String value;

    /** 消息类型 */
    @ApiModelProperty(name = "消息类型")
    private String type;

    /** 消息时间 */
    private Date time;

    public void setMessageId(Long messageId) 
    {
        this.messageId = messageId;
    }

    public Long getMessageId() 
    {
        return messageId;
    }
    public void setMobileUserId(Long mobileUserId) 
    {
        this.mobileUserId = mobileUserId;
    }

    public Long getMobileUserId() 
    {
        return mobileUserId;
    }
    public void setToken(String token) 
    {
        this.token = token;
    }

    public String getToken() 
    {
        return token;
    }
    public void setOne(String one) 
    {
        this.one = one;
    }

    public String getOne() 
    {
        return one;
    }
    public void setOnlineGroup(String onlineGroup) 
    {
        this.onlineGroup = onlineGroup;
    }

    public String getOnlineGroup() 
    {
        return onlineGroup;
    }
    public void setOnline(String online) 
    {
        this.online = online;
    }

    public String getOnline() 
    {
        return online;
    }
    public void setGroudId(String groudId) 
    {
        this.groudId = groudId;
    }

    public String getGroudId() 
    {
        return groudId;
    }
    public void setValue(String value) 
    {
        this.value = value;
    }

    public String getValue() 
    {
        return value;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("messageId", getMessageId())
            .append("mobileUserId", getMobileUserId())
            .append("token", getToken())
            .append("one", getOne())
            .append("onlineGroup", getOnlineGroup())
            .append("online", getOnline())
            .append("groudId", getGroudId())
            .append("value", getValue())
            .append("type", getType())
            .append("time", getTime())
            .toString();
    }
}
